14af95b9e8072a60bffb34e2a1beb8e13d68d2d2,portal-impl/src/com/liferay/portal/events/AddDefaultLayoutPrototypesAction.java,AddDefaultLayoutPrototypesAction,addWebContentPage,#number#number#List#,152

Before Change


			return;
		}

		addPortletId(layout, PortletKeys.TAGS_ENTRIES_NAVIGATION, "column-1");
		addPortletId(
			layout, PortletKeys.TAGS_CATEGORIES_NAVIGATION, "column-1");
		addPortletId(layout, PortletKeys.SEARCH, "column-2");
		String portletId = addPortletId(
			layout, PortletKeys.ASSET_PUBLISHER, "column-2");

		UnicodeProperties typeSettingsProperties =
			layout.getTypeSettingsProperties();

After Change


			return;
		}

		String portletId = addPortletId(
            layout, PortletKeys.TAGS_ENTRIES_NAVIGATION, "column-1");
        addResourcePermissions(companyId, portletId, layout.getPlid());

        portletId = addPortletId(
			layout, PortletKeys.TAGS_CATEGORIES_NAVIGATION, "column-1");
        addResourcePermissions(companyId, portletId, layout.getPlid());

        portletId = addPortletId(layout, PortletKeys.SEARCH, "column-2");
        addResourcePermissions(companyId, portletId, layout.getPlid());

        portletId = addPortletId(
			layout, PortletKeys.ASSET_PUBLISHER, "column-2");
        addResourcePermissions(companyId, portletId, layout.getPlid());

		UnicodeProperties typeSettingsProperties =
			layout.getTypeSettingsProperties();